#pragma once
#include "bieuthuc.h"
#include "BieuThucHang.h"

class BieuThucDon :
	public BieuThuc
{
private:
	double heSo, soMu;
	BieuThucDon(double heSo, double soMu);
public:
	BieuThucDon();
	static BieuThuc* taoBieuThucDon(double heSo,double soMu);
	virtual double tinhGiaTri(double x);
	//virtual BieuThuc* tinhDaoHam();
	virtual BieuThuc* timDaoHam();
	virtual void daoDauBieuThuc();
	virtual string xuatChuoi();
};

